<?php

namespace app\server;

use app\logic\F6DataAnalysis\AirCleanerData;
use app\logic\F6DataAnalysis\AirConditioningFilterData;
use app\logic\F6DataAnalysis\BrakePadsData;
use app\logic\F6DataAnalysis\DataAnalysis;
use app\logic\F6DataAnalysis\EngineOilData;
use app\logic\F6DataAnalysis\FuelFilterData;
use app\logic\F6DataAnalysis\OilFilterData;
use app\logic\F6DataAnalysis\ShockAbsorberData;
use app\logic\F6DataAnalysis\SparkingPlugData;
use app\logic\F6DataAnalysis\StorageBatteryData;
use app\logic\F6DataAnalysis\StorageBatteryDataSpecial;
use GuzzleHttp\Psr7\Request;
use TencentCloud\Common\Credential;
use TencentCloud\Common\Exception\TencentCloudSDKException;
use TencentCloud\Common\Profile\ClientProfile;
use TencentCloud\Common\Profile\HttpProfile;
use TencentCloud\Ocr\V20181119\Models\VinOCRRequest;
use TencentCloud\Ocr\V20181119\OcrClient;
use think\Exception;
use think\facade\Cache;
use think\facade\Db;

class SendNotice
{
    // 指定缓存数据
    private $cookies = 'cookies_cache';
    private $errorCode = 1000100; // 需要重新入队的标识

    public function sendMes($obj_data)
    {
        // 微信服务
        $app = WeChatServer::getInstance()->server();

        // 聊天数据分析
        if ($obj_data['msgtype'] == 'text') {

            // 去除空格，全部大写
            $obj_data['text'] = strtoupper(trim($obj_data['text']));
            // 正则匹配vin
            if (preg_match('/^[A-HJ-NPR-Z0-9]{17}$/', $obj_data['text'])) {
                $vin = $obj_data['text'];
            } else {
                return true;
            }

        } elseif ($obj_data['msgtype'] == 'image') {
//
//                // 指定服务器文件
            $file = '/root/php_ext' . $obj_data['media_path'];
//
            var_dump($file);
//
            if (!is_file($file)) {
                throw new Exception('文件错误', $this->errorCode);
            }
//
            $img = file_get_contents($file);
            $img = base64_encode($img);
//
            try {
                // 腾讯VIN图片识别
//                $cred = new Credential('AKIDtb8WjeO4jO2d6d7Yu42xZ3KRQErX4O4Z', 'Wq02vhK9rrwyueAUdZGnBRVR8g3GNPJ9');
                $cred = new Credential('AKIDeKjrkOFMwGZhYY6LNFvc3CWAbmfIQBDN', '3lDOKHxM4WSDqIjz5TYs8G95oTrzuYwl');
                $httpProfile = new HttpProfile();
                $httpProfile->setEndpoint("ocr.tencentcloudapi.com");
                $clientProfile = new ClientProfile();
                $clientProfile->setHttpProfile($httpProfile);
                $client = new OcrClient($cred, "ap-beijing", $clientProfile);
                // 实例化一个请求对象,每个接口都会对应一个request对象
                $req = new VinOCRRequest();

                $params = array(
                    'ImageBase64' => $img,
                );
                $req->fromJsonString(json_encode($params));

                // 返回的resp是一个VinOCRResponse的实例，与请求对象对应
                $resp = $client->VinOCR($req)->toJsonString();
            } catch (TencentCloudSDKException $e) {
                throw new Exception($e->getMessage());
            }
//
            $resp = json_decode($resp, true);
            if (!isset($resp['Vin']) || $resp['Vin'] === '') {
                throw new Exception('vin获取错误！');
            }

            // 获取到vin数据
            $vin = $resp['Vin'];
//
        } else {
            // 其他聊天数据，不处理
            return true;
        }
//
        var_dump($vin);

        // 获取微信群数据配置
        $wechatGroupInfo = $this->roomInfo($obj_data['roomid']);

        // 构建其他请求参数，用于查询分类数据
        $searchType = $wechatGroupInfo['search_type'];

        // http 请求
        $res = (new SendRequestServer())->send($vin, $searchType);

        // 数据获取
        $data = $res['data'];
        $carName = $data['名称']; // 汽车名称

        // 处理特殊room_id
        if ($obj_data['roomid'] === 'wry5rPBwAAN64fyE41RcPB4KAlczglmQ') {
            $analysisObj = new DataAnalysis(new StorageBatteryDataSpecial());
            $proArr = $analysisObj->analysis($data[$searchType['key']], room_Info: $wechatGroupInfo);
        } else {
            switch ($searchType['key']) {
                case '蓄电池';
                    $analysisObj = new DataAnalysis(new StorageBatteryData());
                    $proArr = $analysisObj->analysis($data[$searchType['key']], room_Info: $wechatGroupInfo);
                    break;
                case '火花塞':
                    $analysisObj = new DataAnalysis(new SparkingPlugData());
                    $proArr = $analysisObj->analysis($data[$searchType['key']], room_Info: $wechatGroupInfo);
                    break;
                case '机油滤清器':
                    $analysisObj = new DataAnalysis(new OilFilterData());
                    $proArr = $analysisObj->analysis($data[$searchType['key']], room_Info: $wechatGroupInfo);
                    break;
                case '空气滤清器':
                    $analysisObj = new DataAnalysis(new AirCleanerData());
                    $proArr = $analysisObj->analysis($data[$searchType['key']], room_Info: $wechatGroupInfo);
                    break;
                case '空调滤清器':
                    $analysisObj = new DataAnalysis(new AirConditioningFilterData());
                    $proArr = $analysisObj->analysis($data[$searchType['key']], room_Info: $wechatGroupInfo);
                    break;
                case '燃油滤清器':
                    $analysisObj = new DataAnalysis(new FuelFilterData());
                    $proArr = $analysisObj->analysis($data[$searchType['key']], room_Info: $wechatGroupInfo);
                    break;
                case '前减震器':
                    $analysisObj = new DataAnalysis(new ShockAbsorberData());
                    $proArr = $analysisObj->analysis($data, $vin, $wechatGroupInfo);
                    break;
                case '前刹车片':
                    $analysisObj = new DataAnalysis(new BrakePadsData());
                    list($proArr, $two) = $analysisObj->analysis($data[$searchType['key']], $vin, $wechatGroupInfo);
                    break;
                case '机油':
                    $analysisObj = new DataAnalysis(new EngineOilData());
                    $proArr = $analysisObj->analysis($data[$searchType['key']], room_Info: $wechatGroupInfo);
                    break;
                default:
                    throw new Exception('数据异常！！！');
            }
        }

        $numArr = [
            0 => '1️⃣',
            1 => '2️⃣',
            2 => '3️⃣',
            3 => '4️⃣',
            4 => '5️⃣',
            5 => '6️⃣',
            6 => '7️⃣',
            7 => '8️⃣',
            8 => '9️⃣',
        ];

        $curr = 0;
        $show = '';
        // 只有一次请求
        if (!isset($two)) {
            foreach ($proArr as $k => $v) {
                if ($k === '单数据' || $searchType['key'] === '前减震器') {
                    $show = $v;
                } else {
                    $show .= '———' . $numArr[$curr] . $k . '——— \n ' . $v . ' \n';
                    $curr++;
                }
            }
        } else {
            // 两次请求
            foreach ($proArr as $k => $v) {
                if ($k === '单数据') {
                    $show = $v;
                } else {
                    $show .= $numArr[$curr] . $k . ' \n ' . $v . ' \n';
                    $curr++;
                }
            }

            foreach ($two as $k => $v) {
                if ($k === '单数据') {
                    $show .= $v;
                } else {
                    $show .= $numArr[$curr] . $k . ' \n ' . $v . ' \n';
                    $curr++;
                }
            }
        }

        // 用户数据获取
        $memberName = '';
        $memberList = $app->external_contact->getGroupChat($obj_data['roomid'], 1);

        foreach ($memberList['group_chat']['member_list'] as $v) {
            if ($v['userid'] == $obj_data['msgfrom']) {
                $memberName = $v['name'];
                break;
            }
        }

        // 为空判断
        $show = !empty($show) ? $show : '未查询到可用数据！';

//        // 构建消息发送体
        $contentStr = $analysisObj->buildMsg($vin, $carName, $show);

        // 构建worktool机器人模式
        $body = '{
   "socketType": 2,
   "list": [
      {
         "type": 203,
         "titleList": [
            "' . $wechatGroupInfo['room_name'] . '"
         ],
         "receivedContent": "' . $contentStr . '",
          "atList": [
            "' . $memberName . '"
         ]
      }
   ]
}';
        var_dump($body);

        // 机器人ID
        $robotId = $wechatGroupInfo['robot_id'];

        $header = [
            'Content-Type' => 'application/json'
        ];
        $rab = new Request('POST', 'https://api.worktool.ymdyes.cn/wework/sendRawMessage?robotId=' . $robotId, $header, $body);
        $guzzleClient = new \GuzzleHttp\Client();
        $res = $guzzleClient->send($rab)->getBody()->getContents();
        $res = json_decode($res, true);
        if ($res['code'] != 200) {
            throw new Exception($res['message']);
        }

        return true;
    }

    public function request_post($url = '', $param = '')
    {
        if (empty($url) || empty($param)) {
            return false;
        }

        $postUrl = $url;
        $curlPost = $param;
        // 初始化curl
        $curl = curl_init();
        curl_setopt($curl, CURLOPT_URL, $postUrl);
        curl_setopt($curl, CURLOPT_HEADER, 0);
        // 要求结果为字符串且输出到屏幕上
        curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
        // post提交方式
        curl_setopt($curl, CURLOPT_POST, 1);
        curl_setopt($curl, CURLOPT_POSTFIELDS, $curlPost);
        // 运行curl
        $data = curl_exec($curl);
        curl_close($curl);

        return $data;
    }

    public function run()
    {
        $curl = curl_init();
        curl_setopt_array($curl, array(
            CURLOPT_URL => "https://aip.baidubce.com/oauth/2.0/token?client_id=xh60NDaUbrWFK817HopG0b7H&client_secret=8pIgvzOA0h818MILT9dni43TLBnGg9Gd&grant_type=client_credentials",
            CURLOPT_TIMEOUT => 30,
            CURLOPT_RETURNTRANSFER => true,
            CURLOPT_CUSTOMREQUEST => 'POST',


            CURLOPT_HTTPHEADER => array(
                'Content-Type: application/json',
                'Accept: application/json'
            ),

        ));
        $response = curl_exec($curl);
        curl_close($curl);

        $res = json_decode($response, true);
        Cache::set('bd-api-token', $res['access_token'], ($res['expires_in'] - 1000));

        return $res['access_token'];
    }

    // 房间号对比
    public function roomInfo($room_id)
    {
        $data = [
            // worktool 测试群
            'wry5rPBwAAuorcePqmmWGxCm9G-yy_Qw' => [
                'room_name' => '埃克塞德机器人查询测试群', // 群名称
                'room_id' => 'wry5rPBwAAuorcePqmmWGxCm9G-yy_Qw', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            // 昆明鑫荣玮蓄电池EXIDE–VIN查询群
            'wry5rPBwAAEFCqC6g2kQLq8YZAevRPuw' => [
                'room_name' => '昆明鑫荣玮蓄电池EXIDE–VIN查询群', // 群名称
                'room_id' => 'wry5rPBwAAEFCqC6g2kQLq8YZAevRPuw', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAAP3rb7b-ZSkwOoOZl4qldrQ' => [
                'room_name' => '亚洲龙vin测试', // 群名称
                'room_id' => 'wry5rPBwAAP3rb7b-ZSkwOoOZl4qldrQ', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '豹发', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ]
            ],
            'wry5rPBwAATDLp5B8Ys7TOFwxoS4qvTA' => [
                'room_name' => 'Vin微信数据查询体验2群', // 群名称
                'room_id' => 'wry5rPBwAATDLp5B8Ys7TOFwxoS4qvTA', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => 'VRLA瓦勒', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ]
            ],
            'wry5rPBwAANHPPvw-31vR2fN-hr2EyRg' => [
                'room_name' => '火花塞测试群', // 群名称
                'room_id' => 'wry5rPBwAANHPPvw-31vR2fN-hr2EyRg', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 13,
                    'key' => '火花塞',
                    'data_type' => '常规保养'
                ]
            ],
            'wry5rPBwAAZ-JWQ7EKqrEhI0TgzhUCFw' => [
                'room_name' => '机油滤清器测试群', // 群名称
                'room_id' => 'wry5rPBwAAZ-JWQ7EKqrEhI0TgzhUCFw', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 8,
                    'key' => '机油滤清器',
                    'data_type' => '常规保养'
                ]
            ],
            'wry5rPBwAAUGciwc3cqcc-JkoR2WyzdQ' => [
                'room_name' => '空气滤清器测试群', // 群名称
                'room_id' => 'wry5rPBwAAUGciwc3cqcc-JkoR2WyzdQ', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 9,
                    'key' => '空气滤清器',
                    'data_type' => '常规保养'
                ]
            ],
            'wry5rPBwAA2U2LneMRDF3rkjQ6i_B6DQ' => [
                'room_name' => '空调滤清器测试群', // 群名称
                'room_id' => 'wry5rPBwAA2U2LneMRDF3rkjQ6i_B6DQ', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 10,
                    'key' => '空调滤清器',
                    'data_type' => '常规保养'
                ]
            ],
            'wry5rPBwAACZeWkF9oTGX2yGixBa3SNA' => [
                'room_name' => '燃油滤清器测试群', // 群名称
                'room_id' => 'wry5rPBwAACZeWkF9oTGX2yGixBa3SNA', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 11,
                    'key' => '燃油滤清器',
                    'data_type' => '常规保养'
                ]
            ],
            'wry5rPBwAAYMArkGwftoX6A6AvGt8GbA' => [
                'room_name' => 'Vin减震器测试群', // 群名称
                'room_id' => 'wry5rPBwAAYMArkGwftoX6A6AvGt8GbA', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 31,
                    'key' => '前减震器',
                    'data_type' => '底盘悬挂系统'
                ]
            ],
            // 郑州尚森减震Vin查询群
            'wry5rPBwAAGoCGHW96VxD0s747_o8I8A' => [
                'room_name' => '郑州尚森减震Vin查询群', // 群名称
                'room_id' => 'wry5rPBwAAGoCGHW96VxD0s747_o8I8A', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 31,
                    'key' => '前减震器',
                    'data_type' => '底盘悬挂系统'
                ]
            ],
            // 郑州尚森Vin底盘件查询
            'wry5rPBwAAFCfGALie72DTwTF8h1STHg' => [
                'room_name' => '郑州尚森Vin底盘件查询', // 群名称
                'room_id' => 'wry5rPBwAAFCfGALie72DTwTF8h1STHg', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 31,
                    'key' => '前减震器',
                    'data_type' => '底盘悬挂系统'
                ]
            ],
            'wry5rPBwAADllWpWwJpTqG5TKKptA_aQ' => [
                'room_name' => 'Vin刹车片测试群', // 群名称
                'room_id' => 'wry5rPBwAADllWpWwJpTqG5TKKptA_aQ', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 20,
                    'key' => '前刹车片',
                    'data_type' => '底盘悬挂系统'
                ]
            ],
            // 真实使用数据
            'wry5rPBwAAwO1hC2w7qqNALDh6BQtfAg' => [
                'room_name' => '中鑫之宝-Vin查询服务群埃克塞德', // 群名称
                'room_id' => 'wry5rPBwAAwO1hC2w7qqNALDh6BQtfAg', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true,
                'cost_money' => true
            ],
            'wry5rPBwAAHs1ds0pj7k5J25alLN5OqA' => [
                'room_name' => '瓦勒查询体验群', // 群名称
                'room_id' => 'wry5rPBwAAHs1ds0pj7k5J25alLN5OqA', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => 'VRLA瓦勒', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ]
            ],

            'wry5rPBwAAICrULXuFS_1NEbsiq1X1Xw' => [
                'room_name' => '挑米连锁-聚浜电瓶服务群', // 群名称
                'room_id' => 'wry5rPBwAAICrULXuFS_1NEbsiq1X1Xw', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 需要参考型号
                'cost_money' => true, // 成本价
            ],
            'wry5rPBwAA-o_hFJC17JBqOremRxkU5w' => [
                'room_name' => '小李补胎VIN码匹配群', // 群名称
                'room_id' => 'wry5rPBwAA-o_hFJC17JBqOremRxkU5w', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true,
            ],
            'wry5rPBwAAFoJ9gfe5eYMH4-nZhS4JRA' => [
                'room_name' => '郑州鸿飞电瓶VIN查询群', // 群名称
                'room_id' => 'wry5rPBwAAFoJ9gfe5eYMH4-nZhS4JRA', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true,
            ],
            'wry5rPBwAAHr1oI-YtMNLo7mA_3_dFrQ' => [
                'room_name' => '北京埃克塞德VIN查询群', // 群名称
                'room_id' => 'wry5rPBwAAHr1oI-YtMNLo7mA_3_dFrQ', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAAYyRxnCdoxk_aBZLJU8XXlw' => [
                'room_name' => '太原电瓶查询机器人群', // 群名称
                'room_id' => 'wry5rPBwAAYyRxnCdoxk_aBZLJU8XXlw', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAA56wu8zyheMrl9d-IM70l2A' => [
                'room_name' => '兰州靖凯机器人查询群', // 群名称
                'room_id' => 'wry5rPBwAA56wu8zyheMrl9d-IM70l2A', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAALS-DoV639nELvmlGAMbwdg' => [
                'room_name' => '深圳埃克塞德机器人查询群', // 群名称
                'room_id' => 'wry5rPBwAALS-DoV639nELvmlGAMbwdg', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAAaXQGGOOUHfEM1KRn6O4hzA' => [
                'room_name' => '天津汽修厂咨询群', // 群名称
                'room_id' => 'wry5rPBwAAaXQGGOOUHfEM1KRn6O4hzA', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAAQfl8nm8ny693v0WqXK6T7Q' => [
                'room_name' => '福建百援精养VIN查询群', // 群名称
                'room_id' => 'wry5rPBwAAQfl8nm8ny693v0WqXK6T7Q', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAA1RmSYn3e9IFwpxW-rK-56A' => [
                'room_name' => '圣盖博蓄电池机器人查询群', // 群名称
                'room_id' => 'wry5rPBwAA1RmSYn3e9IFwpxW-rK-56A', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '瓦尔塔/VARTA', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAAmYul7MBzXwqiB7yum8ZgbA' => [
                'room_name' => '机油（壳牌）查询体验群', // 群名称
                'room_id' => 'wry5rPBwAAmYul7MBzXwqiB7yum8ZgbA', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 7,
                    'key' => '机油',
                    'data_type' => '常规保养'
                ]
            ],
            'wry5rPBwAAtgEhHgaNgAWlz0v2IYlACA' => [
                'room_name' => '埃克塞德福州客户交流群', // 群名称
                'room_id' => 'wry5rPBwAAtgEhHgaNgAWlz0v2IYlACA', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAAJHWEiaSfswjuAvPmS_S1Qw' => [
                'room_name' => '埃克塞德大连服务群', // 群名称
                'room_id' => 'wry5rPBwAAJHWEiaSfswjuAvPmS_S1Qw', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAANHvaNtLApF-51-OSc5t_uQ' => [
                'room_name' => '府航-埃克塞德电瓶营销查询', // 群名称
                'room_id' => 'wry5rPBwAANHvaNtLApF-51-OSc5t_uQ', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true,
            ],
            'wry5rPBwAAM6wgtwUH6h7UnOvtxduSCQ' => [
                'room_name' => '乾鸿-埃克塞德电瓶查询', // 群名称
                'room_id' => 'wry5rPBwAAM6wgtwUH6h7UnOvtxduSCQ', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true,
                'cost_money' => true
            ],
            'wry5rPBwAAhJYUFKJz1BREjITqsDaIyg' => [
                'room_name' => '邯郸埃克塞德VIN查询群', // 群名称
                'room_id' => 'wry5rPBwAAhJYUFKJz1BREjITqsDaIyg', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAAUj5oBx5080dBo0-81J3pYQ' => [
                'room_name' => '埃克塞德东北地区机器人测试群', // 群名称
                'room_id' => 'wry5rPBwAAUj5oBx5080dBo0-81J3pYQ', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAAf2rOnh0q_0Rnh49Lbintdg' => [
                'room_name' => '埃克塞德鞍山服务群', // 群名称
                'room_id' => 'wry5rPBwAAf2rOnh0q_0Rnh49Lbintdg', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAAHCHF-B5awORHaZeJar868Q' => [
                'room_name' => '埃克塞德呼伦贝尔服务群', // 群名称
                'room_id' => 'wry5rPBwAAHCHF-B5awORHaZeJar868Q', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAAl3MNdDddZmgl_SBlYETvSg' => [
                'room_name' => '新乡埃克塞德机器人查询群', // 群名称
                'room_id' => 'wry5rPBwAAl3MNdDddZmgl_SBlYETvSg', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAAz_KQwQWjTnNE4ZbdmQCReg' => [
                'room_name' => '埃克塞德营口查询群', // 群名称
                'room_id' => 'wry5rPBwAAz_KQwQWjTnNE4ZbdmQCReg', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAApDySmdqctuj-6GVWER-laQ' => [
                'room_name' => '南宁创曙埃克塞德查询群', // 群名称
                'room_id' => 'wry5rPBwAApDySmdqctuj-6GVWER-laQ', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            // 测试机器人 TODO
            'wry5rPBwAAgNw_0wWitErfpP2LCeKc9g' => [
                'room_name' => 'AI汽配自动回复机油', // 群名称
                'room_id' => 'wry5rPBwAAgNw_0wWitErfpP2LCeKc9g', // 房间号ID
                'robot_id' => 'wtrzkhhx4q6xsv4dm6rsu24bk8pyztea', // worktool机器人ID
                'search_type' => [
                    'module_id' => 8,
                    'key' => '机油滤清器',
                    'data_type' => '常规保养'
                ]
            ],
            // 新唐朝-埃克赛德电瓶查询
            'wry5rPBwAAERKzDgRJgvnx3syLrF49pg' => [
                'room_name' => '新唐朝-埃克赛德电瓶查询', // 群名称
                'room_id' => 'wry5rPBwAAERKzDgRJgvnx3syLrF49pg', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ],
            //
            'wry5rPBwAAscLMXtFJ_5VYF089-Uin-A' => [
                'room_name' => '远赫-埃克赛德电瓶查询', // 群名称
                'room_id' => 'wry5rPBwAAscLMXtFJ_5VYF089-Uin-A', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ],
            // wry5rPBwAA-yiS4TWOYFuUeP2AmI9FpA
            'wry5rPBwAA-yiS4TWOYFuUeP2AmI9FpA' => [
                'room_name' => '杰超-埃克赛德电瓶查询', // 群名称
                'room_id' => 'wry5rPBwAAscLMXtFJ_5VYF089-Uin-A', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ],
            // wry5rPBwAAqg82tt6DlY5o3pgyYH7a9Q
            'wry5rPBwAAqg82tt6DlY5o3pgyYH7a9Q' => [
                'room_name' => '寅言-埃克赛德电瓶查询报价', // 群名称
                'room_id' => 'wry5rPBwAAqg82tt6DlY5o3pgyYH7a9Q', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ],
            //
            'wry5rPBwAAszeegrlERHFNb7r4tWeu0Q' => [
                'room_name' => '坤迪-埃克赛德电瓶查询', // 群名称
                'room_id' => 'wry5rPBwAAszeegrlERHFNb7r4tWeu0Q', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ],
            'wry5rPBwAADUrO8VpEw6Sr3U_V6V6FfA' => [
                'room_name' => '申茸-埃克赛德电瓶查询报价', // 群名称
                'room_id' => 'wry5rPBwAADUrO8VpEw6Sr3U_V6V6FfA', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ],
            'wry5rPBwAAmjvV60jjAD3K_py3RdBxng' => [
                'room_name' => '广傲-埃克赛德电瓶查询报价', // 群名称
                'room_id' => 'wry5rPBwAAmjvV60jjAD3K_py3RdBxng', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ],
            'wry5rPBwAAGsKXBSOo6wtAPiT7GYeiqA' => [
                'room_name' => '护美-埃克塞德电瓶查询', // 群名称
                'room_id' => 'wry5rPBwAAGsKXBSOo6wtAPiT7GYeiqA', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ],
            'wry5rPBwAAi_59CzNopK0CrF1PmAPkMw' => [
                'room_name' => '皖南-埃克赛德电瓶查询报价', // 群名称
                'room_id' => 'wry5rPBwAAi_59CzNopK0CrF1PmAPkMw', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ],
            'wry5rPBwAAR4inQj5cHXd0QVpIhN5c6A' => [
                'room_name' => '天蒙-埃克赛德电瓶查询报价', // 群名称
                'room_id' => 'wry5rPBwAAR4inQj5cHXd0QVpIhN5c6A', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ],
            //
            'wry5rPBwAAL13xAQEkUz3l0fNTAb1_Yg' => [
                'room_name' => '广州华城汽车蓄电池咨询群', // 群名称
                'room_id' => 'wry5rPBwAAL13xAQEkUz3l0fNTAb1_Yg', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            //
            'wry5rPBwAAMOBCcTNGbAlQLkJ4JhxJ4g' => [
                'room_name' => '埃克塞德包头服务群', // 群名称
                'room_id' => 'wry5rPBwAAMOBCcTNGbAlQLkJ4JhxJ4g', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAAb4zpUXD-hkDfQCLyKH1sfw' => [
                'room_name' => '埃克塞德松原服务群', // 群名称
                'room_id' => 'wry5rPBwAAb4zpUXD-hkDfQCLyKH1sfw', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true,
                'cost_money' => true
            ],
            'wry5rPBwAAte6Nex11rLyLaN6tddNcOA' => [
                'room_name' => '仁辉-埃克塞德电瓶查询报价', // 群名称
                'room_id' => 'wry5rPBwAAte6Nex11rLyLaN6tddNcOA', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ],
            'wry5rPBwAAm2muUFGoM3MBgkiB_9KTLg' => [
                'room_name' => '蓝象-埃克塞德电瓶查询报价', // 群名称
                'room_id' => 'wry5rPBwAAm2muUFGoM3MBgkiB_9KTLg', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ],
            //
            'wry5rPBwAAIekWVLsti8Odx0kLE2isAg' => [
                'room_name' => '撼路者-埃克赛德电瓶查询报价', // 群名称
                'room_id' => 'wry5rPBwAAIekWVLsti8Odx0kLE2isAg', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ], //
            'wry5rPBwAAXMvl4QEubv_anEwOul03KQ' => [
                'room_name' => '冠信-埃克赛德电瓶查询报价', // 群名称
                'room_id' => 'wry5rPBwAAXMvl4QEubv_anEwOul03KQ', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ],
            'wry5rPBwAAjzS5VCu8VxRFaCBZF4B2lA' => [
                'room_name' => '立民环城路-埃克塞德电瓶查询报价', // 群名称
                'room_id' => 'wry5rPBwAAjzS5VCu8VxRFaCBZF4B2lA', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ], //
            'wry5rPBwAA65uMXnSXLteVnTn41FRO9w' => [
                'room_name' => '美驰嘉川路-埃克塞德电瓶查询报价', // 群名称
                'room_id' => 'wry5rPBwAA65uMXnSXLteVnTn41FRO9w', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ], //
            'wry5rPBwAAAWQ7vXFb8cmSJml_mChejg' => [
                'room_name' => '名车名修成老板-埃克赛德电瓶查询报价', // 群名称
                'room_id' => 'wry5rPBwAAAWQ7vXFb8cmSJml_mChejg', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ], //
            'wry5rPBwAAPuFMtRdFFC5n7zT66x6ZHA' => [
                'room_name' => '轮畅-埃克塞德电瓶查询报价', // 群名称
                'room_id' => 'wry5rPBwAAPuFMtRdFFC5n7zT66x6ZHA', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ], //
            'wry5rPBwAALDluEqy2DZo6eJpPgK6Ncw' => [
                'room_name' => '名车名修-埃克塞德电瓶查询报价', // 群名称
                'room_id' => 'wry5rPBwAALDluEqy2DZo6eJpPgK6Ncw', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ], //
            'wry5rPBwAAjGVYGmqo-yYsJ3C5N2yX7w' => [
                'room_name' => '美驰亭知路-埃克塞德电瓶查询报价', // 群名称
                'room_id' => 'wry5rPBwAAjGVYGmqo-yYsJ3C5N2yX7w', // 房间号ID【管理产品，不】
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 参考型号
                'cost_money' => true, // 成本价
            ], // wry5rPBwAAjGVYGmqo-yYsJ3C5N2yX7w
            'wry5rPBwAAT6eQQ9JYbjG0RLh0cAVgug' => [
                'room_name' => '海南车宅送EXIDE机器人查询', // 群名称
                'room_id' => 'wry5rPBwAAT6eQQ9JYbjG0RLh0cAVgug', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => true, // 强制替换
                ]
            ],
            'wry5rPBwAARrBXu5zZ99bwtEhApPbUdA' => [
                'room_name' => '埃克塞德沈阳安图客户服务群', // 群名称
                'room_id' => 'wry5rPBwAARrBXu5zZ99bwtEhApPbUdA', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true,
                'cost_money' => true
            ],
            'wry5rPBwAAPe4H5G2iaP5CjFX0Y8yFdw' => [
                'room_name' => '广州叁和壹汽配电瓶型号查询群', // 群名称
                'room_id' => 'wry5rPBwAAwO1hC2w7qqNALDh6BQtfAg', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true,
                'cost_money' => true
            ],
            'wry5rPBwAA7eut0sU63WIs2RGBW8C9Ig' => [
                'room_name' => '沈阳埃克塞德技术交流群', // 群名称
                'room_id' => 'wry5rPBwAARrBXu5zZ99bwtEhApPbUdA', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true,
                'cost_money' => true
            ],
            'wry5rPBwAAFbLfS8o9tgoscYU12Xlhcg' => [
                'room_name' => '埃克塞德黑龙江众铭服务群', // 群名称
                'room_id' => 'wry5rPBwAARrBXu5zZ99bwtEhApPbUdA', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true,
                'cost_money' => true
            ],
            'wry5rPBwAAOi0ZDLsRZBqji5BYdB4UDw' => [
                'room_name' => '汕头广源电瓶型号查询群', // 群名称
                'room_id' => 'wry5rPBwAARrBXu5zZ99bwtEhApPbUdA', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true,
                'cost_money' => true
            ],
            // ===============================
            // 新群 TODO By Tinkle
            'wry5rPBwAAN64fyE41RcPB4KAlczglmQ' => [
                'room_name' => '消息测试群', // 群名称
                'room_id' => 'wry5rPBwAAN64fyE41RcPB4KAlczglmQ', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池【api】',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '瓦尔塔/VARTA', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true,
                'cost_money' => true,
                'store_name' => '津南分仓'
            ],

            'wry5rPBwAA2obV5ZTjGjffzEsfjjR-SA' => [
                'room_name' => '京东聚浜★埃克塞德★机器人服务群', // 群名称
                'room_id' => 'wry5rPBwAA2obV5ZTjGjffzEsfjjR-SA', // 房间号ID
                'robot_id' => 'wtnxt49adf8114opl8utiwl2u3l8jfd5', // worktool机器人ID
                'search_type' => [
                    'module_id' => 14,
                    'key' => '蓄电池',
                    'data_type' => '常规保养'
                ],
                'brands' => [
                    'need' => '埃克塞德/EXIDE', // 需要的
                    'benchmarking' => '瓦尔塔/VARTA', // 对标的
                    'forced_replacement' => false, // 强制替换
                ],
                'need_refer' => true, // 需要强制替换
                'cost_money' => true, // 需要成本价格
            ]
        ];

        if (!isset($data[$room_id])) {
            throw new Exception('群获取错误');
        }

        return $data[$room_id];
    }

    // 获取vin数据
}
